function numToUp(num){
	var up="零壹贰叄肆伍陆柒捌玖";
	var dw=["拾","百","仟","万","拾","百","仟","亿"];
	dw[-1]="";
	var int=parseInt(num);
	var result="";
	var i=-2;
	var zNum=0;
	var n=0;
	while (int>0) {
		i++;
		n=int%10;
		int=parseInt(int/10);
		if(n==0){
			zNum++;
		}else{
			result=up[n]+dw[i%8]+(i%4>=zNum&&i%4>0?"零":"")+(i%4<zNum&&i%4>=0?dw[(i-i%4-1)%8]:"")+result;
			zNum=0;
		}
	}
	var xs=num-parseInt(num);
	result+=xs>0?"点":"";
	while(xs>0){
		xs=xs*10;
		result+=up[parseInt(xs)];
		xs=xs-parseInt(xs);
	}
	return result;
}
